<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="SettingNavCtrl"></ul>
<div class="set_box">
    <h1 class="set_title"><!--补丁包-->{{language.TIPS_SET_SERVICE_PACK}}<i class="help" id="help_patch" ng-click="help_prompt(language.HELP_PROMPT_PATCH,'help_patch')"></i><span class="title_btn_group"> <span class="title_btn" ng-click="btn_refresh()"><!--刷新-->{{language.TIPS_SET_FLUSH}}</span></span></h1>
    <div class="set_cont patch_cont">
        <!--<ul class="patch_list">
        <li class="date_num"><span class="date">日期：2015-12-29</span><span class="num"><i>6</i></span></li>
        <li class="patch_unit increment" ng-repeat="patch in list"> {{patch.basename}} <a class="download_btn" href="javascript:void(0);" ng-click="download(patch);"></a> </li>
        </ul>-->
        <div class="table_wrap">
            <table class="patch_table">
                <tr>
                    <th><!--发布时间-->{{language.TIPS_SET_ISSUE_TIME}}</th>
                    <th><!--版本-->{{language.TIPS_SET_VERSION}}</th>
                    <th><!--名称-->{{language.TIPS_SET_TITLE}}</th>
                    <th><!--类型-->{{language.TIPS_SET_TYPE}}</th>
                    <th><!--大小-->{{language.TIPS_SET_SIZE}}</th>
                    <th><!--处理时间-->{{language.TIPS_SET_DEAL_TIME}}</th>
                    <th><!--备注-->{{language.TIPS_SET_REMARK}}</th>
                    <th style=" min-width: 60px"><!--日志-->{{language.TIPS_SET_LOG}}</th>
                    <th style="min-width: 60px"><!--操作-->{{language.TIPS_SET_OPERATE}}</th>
                </tr>
                <tr ng-repeat="patch in list track by $index">
                    <td>{{patch.publish_time}}</td>
                    <td>{{patch.patch_code| patch_version_show}}</td>
                    <td>{{patch.patch_name}}</td>
                    <td>{{patch.patch_type}}</td>
                    <td>{{patch.patch_size}}</td>
                    <td>{{patch.lastchanged}}</td>
                    <td>{{patch.remark}}</td>
                    <td>
                        <button ng-click='btn_log(patch.remark_log);'>
                            Log
                        </button></td>
                    <td>
                        <button ng-click="download(patch);">
                            {{language[patch.patch_status]}}</button>
                    </td>
                </tr>
            </table>
        </div>
        <div class="shade" ng-show="patchflag">
        </div>
    </div>
</div>